package com.loyal.loyalerp.humenresource.categoryDetail.service.impl;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.loyal.loyalerp.humenresource.categoryDetail.entity.Gy_ConfigDetail;
import com.loyal.loyalerp.humenresource.categoryDetail.mapper.Gy_ConfigDetailMapper;
import com.loyal.loyalerp.humenresource.categoryDetail.service.CategoryDetailReadService;

@Service
public class CategoryDetailReadServiceImpl implements CategoryDetailReadService {

	@Autowired
	private Gy_ConfigDetailMapper detailMapper;
	
	@Override
	public Collection<Gy_ConfigDetail> retrieveCategoryDetail(Integer id) {
		// TODO Auto-generated method stub
		Collection<Gy_ConfigDetail> detail = detailMapper.selectCategoryDetail(id);
		//System.out.println(detail.toString());
		return detail;
	}

}
